/*
 * Auxiliar.h
 *
 *  Created on: 04/05/2012
 *      Author: Shazgath
 */

#ifndef AUXILIAR_H_
#define AUXILIAR_H_

#include <string>
#include <iostream>
#include <string>
#include <sstream>

#define AGENT_PORT 4321
#define SERVER_PORT 4320

#define BUFFER_SIZE 200
#define DELIM '|'
#define ENDL '\n'
#define WSPC ' '

#define D 'D'
#define H 'H'
#define SEP_3 3


#include <string>
#include <sstream>

#define H_INV "Hecho Invalido"
#define D_INV "Dimension Inv�lida"

namespace Auxiliar {
int stoi(char* s);
int stoi(const std::string s);
std::string itos(int i);
std::string cambiarSeparadores(std::string& s, char sep1, char sep2);
std::string int_to_hex( int i );
std::string int_to_dec( int i );
}

#endif /* AUXILIAR_H_ */
